package com.umakr.ax.app.service;

import com.umakr.ax.common.service.AreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author  Mikey on 2017/12/30.
 */
@Service
public class AreaWebService {
    @Autowired
    AreaService areaService;

    /**
     * 获取所有地区的树形表示
     * @return
     */
    public Object getAllAreasTree(){
        // 地区树状实现逻辑
        return areaService.selectList(null);
    }


}
